import java.util.Scanner;
import basic.*;
import Part.*;
import Product.*;
public class useBurglarProofDoor{
    public static void main(String[] args) {
        Scanner input = new Scanner(System.in);
        outputLock ol = new outputLock();
        outputCarema oc = new outputCarema();
        BurglarProofDoor bpd = new BurglarProofDoor("owner","000",ol.setLock(),oc.setCamera());
        //BurglarProofDoor.Handle equipDoor = new BurglarProofDoor("00000","owner").new Handle("000");
        System.out.println("## Sercurity System BackStage ##");
        System.out.println("Please set the owner");
        String inputOwner = input.nextLine();
        bpd.setOwner(inputOwner);
        System.out.println("Please set the code");
        String inputCode = input.nextLine();
        bpd.setCode(inputCode);
        System.out.println("Please set the roomnumber");
        String inputHousenumber = input.nextLine();
        bpd.setHousenumber(inputHousenumber);
        System.out.println();
        
        System.out.println("## Sercurity System FrontStage ##");
        //bpd.turnHandle();
        System.out.println("Please load in your code");
        String _code = input.nextLine();
        bpd.setLock(_code);
        System.out.println();
    
        //bpd.checkCode(_code);
        //bpd.lock(_code);
        //bpd.unlock(_code);
        bpd.setCamera();


    }
}